﻿using System.Net.Mail;

namespace BestEasyCMS.Framework.Email
{
    public class SmtpService : IEmailService
    {
        public void SendMail(string from, string to, string subject, string body)
        {
            var message = new MailMessage {Subject = subject, Body = body};

            var smtp = new SmtpClient();

            smtp.Send(message);
        }
    }

}
